//
//  AESTool.h
//  Objective-cDemo
//
//  Created by ShareAnimation on 2019/8/9.
//  Copyright © 2019 爱丽丝的梦境. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface AESTool : NSObject
/**
 对字符串aes加密
 
 @param sourceString 加密的字符串
 @return 返回base64编码的aes密文
 */
+ (NSString *)aesEncrypt:(NSString *)sourceString;

/**
 对base64编码的aes进行解密
 
 @param base64String base64编码的密文
 @return 返回原本的字符串
 */
+ (NSString *)aesDecrypt:(NSString *)base64String;
@end

NS_ASSUME_NONNULL_END
